package com.jd.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jd.basic.domain.BaseDomain;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends BaseDomain {
    // 店铺id
//    private Long id;
    // 店铺名称
    @Excel(name = "店铺名称",orderNum = "1",width = 30)
    private String name;
    @Excel(name = "店铺座机",orderNum = "2",width = 30)
    // 店铺座机
    private String tel;
    // 店铺入驻时间
    @Excel(name = "店铺入驻时间",orderNum = "3",format = "yyyy-MM-dd",width = 50)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date registerTime = new Date();
    // 店铺状态
//    @Excel(name = "店铺状态",orderNum = "4",width = 30)
    private Integer state = 1; // 默认注册入驻为待审核
    // 店铺地址
//    @Excel(name = "店铺地址",orderNum = "5",width = 30)
    private String address;
    // 店铺log
//    @Excel(name = "店铺logo",orderNum = "6",width = 30)
    private String logo;
    // 店铺管理员id
//    @Excel(name = "店铺管理员",orderNum = "7",width = 30)
    private Long adminId;
    // 关联查询管理员
    private Employee admin;
}
